package cn.template.models;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;

public interface CompanyRepository extends CrudRepository<Company, Long> {
    Page<Company> findByNameLike(String name, Pageable pageable);

    Page<Company> findAll(Pageable pageable);
}
